{template Public:Page:header}

<div class="container">
  <div class="row">
  
	<div class="col-lg-2">
      <div class="row">
        <div class="well">
        <div class="row" style="padding-left:5px;padding-right:5px;">

              <table class="table table-hover">
                    <tbody>
  
                        <tr>
                            <td>
                               <a href="/website/about"{if 'about'==ACTION_NAME} class="btn-primary"{/if}>关于我们</a>
                            </td>
                        </tr>
                        
                        <tr>
                            <td>
                               <a href="/website/contact"{if 'contact'==ACTION_NAME} class="btn-primary"{/if}>联系我们</a>
                            </td>
                        </tr>
                        
                        <tr>
                            <td>
                               <a href="/website/service"{if 'service'==ACTION_NAME} class="btn-primary"{/if}>客服中心</a>
                            </td>
                        </tr>
                        
                        <tr>
                            <td>
                               <a href="/website/sitemap"{if 'sitemap'==ACTION_NAME} class="btn-primary"{/if}>网站地图</a>
                            </td>
                        </tr>
                        
                        <tr>
                            <td>
                               <a href="/website/links"{if 'links'==ACTION_NAME} class="btn-primary"{/if}>友情链接</a>
                            </td>
                        </tr>
     
                    </tbody>
                </table>
                       

      	</div>        
                                
        </div>
      </div>
    </div>
    
    <div class="col-lg-10 well-col-pl-30">
      <div class="row">
       <div class="well">
       {if 'about'==ACTION_NAME}
         <h3>关于我们</h3>
 
         {echo htmlspecialchars_decode(C('about'))}
          
	   {elseif 'contact'==ACTION_NAME}	
       	 <h3>联系我们</h3>
         
         {echo htmlspecialchars_decode(C('contact'))}
         
       {elseif 'service'==ACTION_NAME}	
       	 <h3>客服中心</h3>
         
         {echo htmlspecialchars_decode(C('service'))}
       {elseif 'sitemap'==ACTION_NAME}	
       	 <h3>网站地图</h3>
         <hr />
         {if $categoryarray} 
        	 <h4>任务分类</h4>
         	{foreach $categoryarray $category}
            	{if $category['task']}
                	<h5><a href="/task/{echo $category['route']}"><strong>{echo $category['name']}</strong></a></h5>
                    <div class="sitemap_list">
                    {if $category['subclass']}
                    <ul>
                    	{foreach $category['subclass'] $value}
                   			 <li><a href="/task/{echo $value['route']}">{echo $value['name']}</a></li>
                        {/foreach}
                    </ul>
                    {/if}
                    </div>
                {/if}
            {/foreach}
         {/if}
          <hr />
         
         {if $categoryarray} 
        	 <h4>服务商分类</h4>
            
         	{foreach $categoryarray $category}
            	{if $category['service']}
                	<h5><a href="/rencai/{echo $category['route']}"><strong>{echo $category['name']}</strong></a></h5>
                    <div class="sitemap_list">
                    {if $category['subclass']}
                    <ul>
                    	{foreach $category['subclass'] $value}
                   			 <li><a href="/rencai/{echo $value['route']}">{echo $value['name']}</a></li>
                        {/foreach}
                    </ul>
                    {/if}
                    </div>
                {/if}
            {/foreach}
         {/if}
         <hr />
         {if $categoryarray} 
        	 <h4>服务分类</h4>
             
         	{foreach $categoryarray $category}
            	{if $category['service']}
                	<h5><a href="/fuwu/{echo $category['route']}"><strong>{echo $category['name']}</strong></a></h5>
                    <div class="sitemap_list">
                    {if $category['subclass']}
                    <ul>
                    	{foreach $category['subclass'] $value}
                   			 <li><a href="/fuwu/{echo $value['route']}">{echo $value['name']}</a></li>
                        {/foreach}
                    </ul>
                    {/if}
                    </div>
                {/if}
            {/foreach}
         {/if}
        <hr />
         {if $categoryarray} 
        	 <h4>资讯分类</h4>
             
         	{foreach $categoryarray $category}
            	{if $category['news']}
                	<h5><a href="/news/{echo $category['route']}"><strong>{echo $category['name']}</strong></a></h5>
                    <div class="sitemap_list">
                    {if $category['subclass']}
                    <ul>
                    	{foreach $category['subclass'] $value}
                   			 <li><a href="/news/{echo $value['route']}">{echo $value['name']}</a></li>
                        {/foreach}
                    </ul>
                    {/if}
                    </div>
                {/if}
            {/foreach}
         {/if} 
          <hr />
         {if $categoryarray} 
        	 <h4>帮助分类</h4>
             
         	{foreach $categoryarray $category}
            	{if $category['help']}
                	<h5><a href="/help/{echo $category['route']}"><strong>{echo $category['name']}</strong></a></h5>
                    <div class="sitemap_list">
                    {if $category['subclass']}
                    <ul>
                    	{foreach $category['subclass'] $value}
                   			 <li><a href="/help/{echo $value['route']}">{echo $value['name']}</a></li>
                        {/foreach}
                    </ul>
                    {/if}
                    </div>
                {/if}
            {/foreach}
         {/if} 
       {elseif 'links'==ACTION_NAME}	
       	 <h3>友情链接</h3>
         
         <div class="row">
         {if $linklogo}
              {foreach $linklogo $value}
                    <div class="col-sm-6 col-md-2">
                     <a href="{echo $value['siteurl']}" target="_blank" title="{echo $value['description']}"><img name="{echo $value['sitename']}" src="{echo $value['logo']}" title="{echo $value['sitename']}" />
                      <br />
                     </div>
              {/foreach}
         {/if}     
         </div>
         
         
         <div class="row">
         {if $linktxt}
              {foreach $linktxt $value}
                    <div class="col-sm-6 col-md-2">
                     <a href="{echo $value['siteurl']}" target="_blank" title="{echo $value['description']}">{echo $value['sitename']}</a>
                     <br />
                     </div>
              {/foreach}
         {/if}     
         </div>
       {/if}
         
       </div>
    </div>
  </div>
</div>
</div>

{template Public:Page:footer}